<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<ui:composition template="/template/padrao.xhtml">
	<ui:define name="breadcrumb">
		<c:set var="breadcrumbText" value="Administrativo >> Cadastro de Equipamentos"/>
	</ui:define>
	<ui:define name="conteudo">
		<style type="text/css">
	        .ui-selectonemenu { display: inline-block; vertical-align: top; }
	    </style>
		<h:messages styleClass="errorMessage" globalOnly="true" />
		<h:panelGroup style="padding-top: 10px; max-height: 20px;">
			<h:outputText value="Equipamento: " />
			<p:selectOneMenu value="#{coletarDadosCLPMBean.idCLPSelecionado}" converter="javax.faces.Long" 
			label="Selecione..." requiredMessage="Obrigatório seleciona um Equipamento">
				<f:selectItems value="#{coletarDadosCLPMBean.listCLPs}" />
			</p:selectOneMenu>
			<p:commandButton actionListener="#{coletarDadosCLPMBean.coletarDados}" value="Coletar" update="@form"/>
        </h:panelGroup>
	</ui:define>
</ui:composition>
</html>